package task15;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/13 10:16
 * @description: 子类：重写父类的抽象方法
 */
public class HPrinter extends Printer{

  @Override
  public void open() {
    System.out.println("HP 打开");
  }

  @Override
  public void print() {
    System.out.println("HP 打印");
  }

  @Override
  public void close() {
    System.out.println("HP 关闭");
  }
}
